package com.hbk.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hbk.entity.Consultation;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ConsultationMapper extends BaseMapper<Consultation> {

    /** 获取列表 */
    List<Consultation> list(@Param("start")Integer start,
                            @Param("num")Integer num);
    /** 获取总数 */
    int countList();
}
